package com.appkubes.mall.core.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import com.baomidou.mybatisplus.annotation.*;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
/**
 * 
 * @author Rongjie
 */
@Data
@TableName("mall_meta_holiday")
@KeySequence(value = "mall_meta_holiday_SEQ")
@ApiModel(value = "MallMetaHoliday对象")
public class MallMetaHoliday implements Serializable{

       @TableId(value = "holiday_key", type = IdType.UUID)
       private String holidayKey;

       @ApiModelProperty(value = "日期")
       private String holiday;

       private Integer holidayInt;

       @ApiModelProperty(value = "节假日类型；休息日对应结果为 1, 节假日对应的结果为 2", example = "1")
       private Integer type;

       private Integer createTime;

       private Integer updateTime;

       @ApiModelProperty(value = "版本号", example = "1")
       @Version
       private Integer version;

}
